<?php
$this->pageTitle=Yii::app()->name . ' - Login';
$this->breadcrumbs=array(
	'Login',
);
?>

<div class="form">
<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'login-form',
	'enableAjaxValidation'=>true,
)); ?>

	<table style='margin: auto;'>
		<tr>
			<td colspan=2 align=center>
				<h2>Закрытая зона</h2>
			</td>
		</tr>
		<tr>
			<td>
				Логин<br>
				<?php echo $form->textField($model,'username'); ?>
			</td>
			<td>
				Пароль<br>
				<?php echo $form->passwordField($model,'password'); ?>
			</td>
		</tr>
		<tr>
			<td colspan=2 align=center>
				<br />
				<?php echo CHtml::submitButton('Вход'); ?>
				<br />
				<br />
			</td>
		</tr>
	</table>
	
<?php $this->endWidget(); ?>
</div><!-- form -->
